
#pragma once

#include "Stl/STLvector.h"
#include "HrkObject.h"

class CHrkNode:public CHrkObject
{
	DECLARE_DYNCREATE( CHrkNode ) 
public:
	CHrkObject* m_object;
	STLvector<CHrkNode*> m_child_list;
public:
	CHrkNode();
	~CHrkNode();
	void AttachChild( CHrkNode* ch );
	void DetachChild( CHrkNode* ch );

	virtual void UpdateTransform();
	virtual void ParseScript( TiXmlElement* elem );
	virtual void Destroy();
	
};